/**
* Auto generated code for class 
* Generated timestamp : Sun Oct 28 22:02:19 CST 2007
*/

package com.javaeye.dengyin2000.gwtmodel.example.client.gwtr;


import pl.rmalinowski.gwtreflect.client.reflect.Constructor;
import pl.rmalinowski.gwtreflect.client.reflect.Field;
import pl.rmalinowski.gwtreflect.client.reflect.Method;
import pl.rmalinowski.gwtreflect.client.reflect.InvocationTargetException;
import pl.rmalinowski.gwtreflect.client.reflect.IllegalAccessException;
import pl.rmalinowski.gwtreflect.client.reflect.InstantiationException;


import com.google.gwt.core.client.GWT;
import com.google.gwt.core.client.JavaScriptObject;


public class Contact__GWTR extends pl.rmalinowski.gwtreflect.client.reflect.Class {

	public Object newInstance() throws InstantiationException,IllegalAccessException {		
 
	
		return GWT.create(com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Contact.class);
	
	}
	
	public Contact__GWTR() {
		super("Lcom/javaeye/dengyin2000/gwtmodel/example/client/pojo/Contact;",1);
						
		// --------------------------------------------------------
		// ----		start of [  FIELDS  ] section.          
		// --------------------------------------------------------
		
		Field tmpField = null;
		
		tmpField=  new Field(this, "telNo", 2, "Ljava/lang/String;") {
		
			protected native Object nativeGet(Object obj) /*-{	
				return obj.@com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Contact::telNo;
			}-*/;
		
			protected native void nativeSet(Object obj, Object value)/*-{	
					
		obj.@com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Contact::telNo = value;	 
			}-*/; 
		};
		
		fields.put("telNo",tmpField);

		tmpField=  new Field(this, "links", 2, "[Ljava/lang/String;") {
		
			protected native Object nativeGet(Object obj) /*-{	
				return obj.@com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Contact::links;
			}-*/;
		
			protected native void nativeSet(Object obj, Object value)/*-{	
					
		obj.@com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Contact::links = value;	 
			}-*/; 
		};
		
		fields.put("links",tmpField);
		
		// ========================================================
		// ====		end of [  FIELDS  ] section            
		// ========================================================
				
		// --------------------------------------------------------
		// ----		start of [  METHODS  ] section.          
		// --------------------------------------------------------
		
		Method tmpMethod = null;
		
		// Method java.lang.String getTelNo ( ... ) 
		tmpMethod = new Method(this, "getTelNo", 1,
		"Ljava/lang/String;",
		// "Ljava/lang/String;" ,
		new String[]{} , new String[]{}
		) { 
			protected native Object nativeInvoke(Object obj, JavaScriptObject argsArray) /*-{
				    
		    	    return obj.@com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Contact::getTelNo()();
		    	    	 
			}-*/;
		};
		
		addMethod(tmpMethod);

		// Method void setTelNo ( ... ) 
		tmpMethod = new Method(this, "setTelNo", 1,
		"V",
		// "V" ,
		new String[]{"Ljava/lang/String;"} , new String[]{}
		) { 
			protected native Object nativeInvoke(Object obj, JavaScriptObject argsArray) /*-{
				    
		    	    obj.@com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Contact::setTelNo(Ljava/lang/String;)(argsArray[0]);
		    	    return @pl.rmalinowski.gwtreflect.client.reflect.types.Void::TYPE;	 
			}-*/;
		};
		
		addMethod(tmpMethod);

		// Method [Ljava.lang.String; getLinks ( ... ) 
		tmpMethod = new Method(this, "getLinks", 1,
		"[Ljava/lang/String;",
		// "[Ljava/lang/String;" ,
		new String[]{} , new String[]{}
		) { 
			protected native Object nativeInvoke(Object obj, JavaScriptObject argsArray) /*-{
				    
		    	    return obj.@com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Contact::getLinks()();
		    	    	 
			}-*/;
		};
		
		addMethod(tmpMethod);

		// Method void setLinks ( ... ) 
		tmpMethod = new Method(this, "setLinks", 1,
		"V",
		// "V" ,
		new String[]{"[Ljava/lang/String;"} , new String[]{}
		) { 
			protected native Object nativeInvoke(Object obj, JavaScriptObject argsArray) /*-{
				    
		    	    obj.@com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Contact::setLinks([Ljava/lang/String;)(argsArray[0]);
		    	    return @pl.rmalinowski.gwtreflect.client.reflect.types.Void::TYPE;	 
			}-*/;
		};
		
		addMethod(tmpMethod);
		
		// ========================================================
		// ====		end of [  METHODS  ] section            
		// ========================================================
		
		// --------------------------------------------------------
		// ----		start of [  CONSTRUCTORS  ] section.          
		// --------------------------------------------------------
		
		Constructor tmpConstructor = null;
		
		// Constructor com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Contact ( ... ) 
		tmpConstructor = new Constructor(this,"com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Contact",1,new String[]{}) {
		    public Object newInstance(Object[] initargs) throws InvocationTargetException {    
		    	try {            
		        	return new com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Contact();
		        } catch (Exception ex) {
				    throw new InvocationTargetException(ex);
				}
		    }            
		};
		constructors.put("com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Contact", tmpConstructor);
		
		// ========================================================
		// ====		end of [  CONSTRUCTORS  ] section            
		// ========================================================
		
	}
	
	
    protected java.lang.Class getClazz() {
		return com.javaeye.dengyin2000.gwtmodel.example.client.pojo.Contact.class;
      
    }
    
    
 
    protected String getSuperClassSignature() {
        return "Lpl/rmalinowski/gwtreflect/client/test/Sample;";
    }    
    
}